moving variable to local config