improved shell functions, added bash and friends.