updated scripts
fixed up raven and command line option handling