Adding folding and wildcard settings