moved createdb out of startup script