Fixed ggsave to allow for saving graphs