added validation option for uploader