[#2] Make manager setup SQL when run by uWSGI