update script now converts the text directly to a php file