improve the fork functionality
Updated libraries