changed from delete to del to avoid a keyword
cleaed up some issues with writing out the sqlcredentials.php file