comment bug
renamed renderFromScript