Use autostart properly