Fix hook-scripts permission