fixing small issue in the prep templates download permissions