Fix install script (use export-able function instead of alias)