implementing logic so that execute tags are processed first to bring in data before html is appended