Change default encoding when initializing the dbs
Fix run script to run unicorn as a daemon