fix permissions
more changes