changed framework version to 4.0 to work with AWS