read in PARENTIP and PORT as replacement variables