Parameterize the script for install, contributed by Van Halbert