Added postEvent script