changed migrate script

version files moved in gem from /config to /db
the script uses gem methods now to get the paths so in case we reorganize these files in the gem we don't have to change the script