Split migrate script in to 2 different scripts.  One to migrate the shar...

...d db's the other to migrate the catalogue