fixed problem where if only tasks are defined, they don't get fired