namedconfig added
main.js changed to add alert