Added 'scan' script.