Autofill wp path and database config in init