support .profile scripts