removed hacky way for getting the datafolder in static