Add 'interactive' argument to function; set to TRUE
Add condition of interactive == TRUE for existing blocks