modified infrastructure script