adding cmd to env