Downgrading the .net version to 4.0 for compatibility