refatoring so migration flag works when generating script for multiple tables
bump version v0.5.3