now handling execute tags before appending html instead of after