There are a number of issues with stageschema.sh:
1) Static instances in the mofs never get staged (no corresponding .reg file)
2) The location of the staging directory is assumed
3) The script must be run from the SFCB source root directory, or it will not work.