fixes to the main.js, how do i call scripts, pls send help