M: ScriptFile: add several properties, s.a. 'output', 'mainTemplate' etc.