remove sudo from main.js