Some changes necessary for .JAR local file loading