Updated argument handling in pro script.