Changed the default events/functionsPre and post settings to correctly allow for empty values