Conver to use .profile.d script.