Removed unnecessary process_args function