Improved ipk generation.