title: Monkeyrunner script doesn't run, but commands work
body: <p>If I run Monkeyrunner manually and execute the following 3 commands:</p>
  
  <pre><code>from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
  
  device = MonkeyRunner.waitForConnection()
  
  device.press('KEYCODE_HOME', MonkeyDevice.DOWN_AND_UP)
  </code></pre>
  
  <p>Everything works, I see that the home key is pressed. However, if I save those 3 commands into a .py file, and then try to run the file, I get the following:</p>
  
  <pre><code>....\MonkeyRunner Scripts&gt;monkeyrunner BasicTest.py
  Can't open specified script file
  Usage: monkeyrunner [options] SCRIPT_FILE
  
      -s      MonkeyServer IP Address.
      -p      MonkeyServer TCP Port.
      -v      MonkeyServer Logging level (ALL, FINEST, FINER, FINE, CONFIG, INFO,
  WARNING, SEVERE, OFF)
  </code></pre>
  
  <p>I decided to try the -v switch to see what it say's, and I got the following:</p>
  
  <pre><code>....\MonkeyRunner Scripts&gt;monkeyrunner -v BasicTest.
  py
  Exception in thread "main" java.lang.IllegalArgumentException: Bad level "BasicT
  est.py"
          at java.util.logging.Level.parse(Unknown Source)
          at com.android.monkeyrunner.MonkeyRunnerOptions.processOptions(MonkeyRun
  nerOptions.java:130)
          at com.android.monkeyrunner.MonkeyRunnerStarter.main(MonkeyRunnerStarter
  .java:179)
  </code></pre>
  
  <p>Any ideas on what's going on here?</p>