Used which not -e
Corrected & enhanced synopsis