added environment variable thing, and acf export
rest of acf stuff