let profile read profile.d and removed duplicate ps1