Added run from command line option. Better unloading strategy.