Commented out environment strings and variables functions. Need to replace the functionallity later by using the registry.