optimise vars.php for easy config