added one time task functionality and variable passing to the Task Class