Fix pre commit hook

I had some issues when assets were in the index
and in the stash.
Implement exam page