Added code for web upload checking