ts optimizing - removed conditions and add stdWraps therefor. add more options to the configuration file