Reorganized Code: Global Settings