awk magic to make paths work with old paths