fix file permissions
remove old video after the new one is uploaded