tidied up and moved where sources terminal svg from