Added verification of SearchPath/MASfile to gentool.py