Cleaned up superfluous setenv scripts and fixed typo