Fix install script to gracefully migrate from old structure