Added permissions and adjusted upload field