Automatically generate package list