fixed small code parts and added .profile