setting scheduler only if params contains scheduler info