corrected the parsing for script type commands; all text after the script token is considered script