Access to DB fixed and install script as well