UI for changing number of instances

With better layout for N instances