New changes done
changes added for finding the req path