added umask 002 to staging directory creation