use sudo for main.js