Implementing migration scheduler