more code changes- better graphics export