added generic fork script