Use which directly instead of test -x $(which)
Don't need this to be executable
Fix stderred loading on linux
Update coresys formula