Updating it for working with ACF 4.0
Merge pull request #2 from ajmorris/master

Update for 4.0 Compatability