Change how the script is called to support isolated gem environments.