added a switch to allow video uploads