Fixed error in grant-execute-permissions