Make dashboard path dynamic