Move functions/#defines out of toxfile