fixed typo in migration script
added functionality for syncing PACKAGES files