Added local run of update database procedure if no CGI