Even more fixes for #98 Remove dependency on flask-script