Created loop for executing services