move scheduler to profile