Downgraded to .NET 4.0 for better compatibility