Updates wt3encoder scripts - add return value and options