Do sanity checking to prevent command clobbering