change main page script
Routes were changed. Error page was modified