fixed migration generator script