Minor bug fixes to kill/delete container scripts