A library cookbook for foreman