Improve main function, replace newlines with echo, comment out distro_check function