add scheduler and default resource