Changed the way arguments are skipped in set_args()