Had to add this file as I couldn't get it to work from the php templates, even with the depends in meta data