LP#1117808: Stamping upgrade scripts for extend use of merge profiles