Added MOSYNCDIR variable to the script.