Alexey and Erik: modified the CurrentSchedulerId in StarcounterEnvironment.