type recv scan script