makes commands a list