Chnage Log function in Main; Fix Project and Projecttype