fixed mistake introduced by last commit regarding scriptpath and removed an paramter that being passed to migrate which was no longer needed