First try of adding preferences config feature