Added exit with code 1 when no arguments passed