Help with dealing with S3 uploads in a mixed development/production environment

Sorry, found this which I think is the solution