added generated script statements from PHP script