fixing version and permissions hopefully