Added default function for no task passed in url.