Added command long handling in parameter thread