clean up perltidy and take out some very host specific stuff