main function now prints error to screen

errors print to screen, quotes removed from around errors