add some sml commands to change dir