Clean up manage.py

Removed a duplicate import and re-used the app instance for the script manager.