updates for batch and powershell_script resources