Added a migrate script for pre 1.0.x users