chinook: cmd_script updates (sed command fixes multi-line cmds)