Now it checks if the database exist and ask for install if not(fixed a
directory change).
When running both install, the .sh version checks if the user is the owner
of the directory and after that both check for writing permissions.