fix for custom version byte.
fix permissions.