fixing permissions on staging-dtc.js script