Changed to Trusty box and fixed last few bugs. Should work for both Unix and Windows