making production and dev versions. dev runs sqlite3, prod runs postresql