updates to use window color for security