fixing bugs
Fix meta-write bug
dual support for polyphemus and normal shell scripts