add a script for scanning