WIP: get preinstall to work