Updated main so it would fail gracefully without enough arguments