added migrate script to correct localhost template