Adding settings paths
Updating function constructor to use this