Added root path and edited database config