added --restart-in option