use an rpm instead of a hack-y script.