Have the trek configuration define whether to store png and sql files. Perhaps also add support for .svg output which is probably more preferable than .png for a lot of use cases.