Change logic to add packages