updated images, debugged routes, improved logic