Reworked config to proplists