update for the validation in main.js (URL and outputPath)