Added scan command