Add support for changing the installation directory