fixed autostart script requirements