Added MOUNT_DIR check.