added contao 3.1 support