Modified how config works