Updated some code for use with new Flask-Script.

Unfroze flask-script requirement.