Supporting custom installation directory