confighook mkdir fix + stuff