Fixed env vars and cleanup debugging msgs [publish binary]