vaf-setup config divided in functions