Porting from 6.x -> 7.x
variables
Merge pull request #1 from willtp87/7.x

variables
Merge pull request #1 from daniel-dgi/7.x

Porting from 6.x -> 7.x