apply changes to iw script