A system comprising: a supply module configured to supply one or more pills, wherein; the supply module comprises a plurality of containers; and each of the plurality of containers is configured to dispense one or more pills of a respective type; a receiving module configured to receive one or more pills from the supply module; a pre-fill tray configured to receive one or more pills from the receiving module, wherein the pre-fill tray comprises an arrangement of a plurality of receiving elements, and each of the plurality of receiving elements is configured to hold one or more pills of a respective type; a selectable transfer plate, selectable from a plurality of available transfer plates, configured to receive and hold an arrangement of pills from the pre-fill tray, and to guide the transfer of the pills into slots of a pack, wherein the pack is selected among packs of different dimensions, and wherein the selectable transfer plate is selected from the plurality of available transfer plates to have dimensions corresponding to the dimensions of the pack; and a control module operable to control operation of one or more of the supply module, the receiving module, the pre-fill tray, and the transfer plate, wherein the control module is configured to: populate a plurality of the receiving elements of the pre-fill tray based on a plan, wherein the plan comprises types and numbers of pills to be used for the pack and is based on a prescription input; and select, from the plurality of available transfer plates, the selectable transfer plate for the respective pack. a supply module configured to supply one or more pills, wherein; the supply module comprises a plurality of containers; and each of the plurality of containers is configured to dispense one or more pills of a respective type; the supply module comprises a plurality of containers; and each of the plurality of containers is configured to dispense one or more pills of a respective type; a receiving module configured to receive one or more pills from the supply module; a pre-fill tray configured to receive one or more pills from the receiving module, wherein the pre-fill tray comprises an arrangement of a plurality of receiving elements, and each of the plurality of receiving elements is configured to hold one or more pills of a respective type; a selectable transfer plate, selectable from a plurality of available transfer plates, configured to receive and hold an arrangement of pills from the pre-fill tray, and to guide the transfer of the pills into slots of a pack, wherein the pack is selected among packs of different dimensions, and wherein the selectable transfer plate is selected from the plurality of available transfer plates to have dimensions corresponding to the dimensions of the pack; and a control module operable to control operation of one or more of the supply module, the receiving module, the pre-fill tray, and the transfer plate, wherein the control module is configured to: populate a plurality of the receiving elements of the pre-fill tray based on a plan, wherein the plan comprises types and numbers of pills to be used for the pack and is based on a prescription input; and select, from the plurality of available transfer plates, the selectable transfer plate for the respective pack. populate a plurality of the receiving elements of the pre-fill tray based on a plan, wherein the plan comprises types and numbers of pills to be used for the pack and is based on a prescription input; and select, from the plurality of available transfer plates, the selectable transfer plate for the respective pack.