enhancement scripts: file size timeout fix, refactoring
added support for list of masks in pattern; universal run enhancement script