Added a --dispose command line option