insert vars instead of using +
improved post-request redirect, request index