Optimization and use of /etc/profile.d