added a append svg at the top of the script