Added option for creating scheduler based on costs