add .profile.d script in compile