added optional --shadow command line argument to fix options.shadow undefined error when running scruffy.py standalone