Allowing more paramters to the todo schedule function