Grammar updates

Grammar updates
Tentative php testing