Specify production and change permissions after upload