Modifications to grammar path