modified to support lts download