Improved dbserver and webserver scripts as well to remove sleeps