added autostart loop script