moar upates for static side
bug fix revision
bash read tmpl file func