Implemented pre and post fork callback triggers