added option: pause instead of stop,
some tweaks