fix some settings and fix the database creation in the iunstall.sh