Updating workout to use dirpermissions instead of permissions