PEP8 clean up
use optparse
cut out password substitution
add --nightly and --release