Try making the postgen hook executable