adding script to test tree rendering event