Wrapped executable boilerplate code in "if __name__ ...".
Added sketch for __output__material__ boilerplate.