Substitute Home path with ~