update batch and powershell_script resources

new attributes, updated steps