Release 3.1_04

changed script engine from in-program-execution into handing it to bash
so bash can execute it for you with logic involved. added useful
documentation, changed formatter, and fixed other bugs.