Use DB_PREFIX in select function
Added function to add settings