Updated recipe and added preinstall script