Made changes to xml and main.js