Forgot to add var statment to config so its not global