Set before and after functions to be called only once and updates Readme.