Added check for existing mod folder