Old preamble
added graphic setup to preamble