scheduler working + imporvement in startup