Configure autostart