Adjust rake tasks for db preparation