Functions should be included first
Fix db and user automatic creation