Added version locking for tasks