Added option to create multiple pills.