update miror directory detection
Merge branch 'master' of https://github.com/marco-adeti/GUL-miroir