Fixed error where program only has no arguments