Helps to resolve #41
Checks for existing setting before using it and resolves #41