Fixed file writing and added anomalous and command line switches to bean (no UI for this as yet...)