adding checkbox for autostart