change dir markup