make the migrate script importable via require