Fixed upload implementation, added the ACL setting