scan script