History import

I really thought I'd done a PR for this. Oh well here it is. This makes it possible to update the installation profile based on a smapp profile. This has been merged upstream already.