added finishing touches for fork command