update IOProvider to manage the gamma parameter, update scripts accordingly.