Added helper function for getting plugin settings