Autostart

Built on top of unique-mode branch