auto append page tag from select directory