Made main catch all possible arg errors