Adds pachamama config, better string replace regex