Moved to invoke for running tasks