added auto startup of algo