hooks cleanup, sh indent addition