Only migrate if dir provided.
Release 0.0.2