Added fork() and other stuffs