improve grade template project tested on OS X