Fix bug with upload permissions. Fix indentation and style