added local settings loading