first version of the PXE helper script