adding scripts for scanning step