Changed restart.bat to take process and delay period as argument. Check get_first_tabs_ie_firefox.au3/exe which has been changed as suggestion. Have tested these on the vm I had on mac