Allow the script to support multiple installation types.