Add SpecTools function ot get scan command