Added changes for making migrations possible in rake script.