Created trigger generation functions for zones and objects