scanner script