Replacement of database URL's environment variable with the correct one