updated sample project and added the ability to turn off performance monitoring