Added start and stop tasks