update script file as per directory structuer changes