Scanner Configuration Functions

Added some of the functions needed for setting up the scanner.