Move check for flask-script before importing ManageAssets