added cli for the scheduler