add AUTOSTART_ENABLE check