Revert "updated to posix" causes the script to fail

This reverts commit 276273c7039b967fb908ad4000be5f42ee94f1d2.