added check for overwrite on upload + overwrite checkbox in form