Add custom bash script for manage.py
use bash script to handle manage.py tasks, fix migrate bug