Bug Fix: Media upload scripts