moved taskkill to start of script