adding custom conditionals 'ifstartswith' and 'ifendswith'