Fixed a major bug with file path manipulations using "string.replace()" to remove only from the front of the string. That's not what "string.replace()" does and it kinda ruined things.