Fixed grant ownership and group scripts