Done some work on getting the migrate script to work with oracle