added settings
added refresh feature