added --minimal command line option