modified .autopkg for newer syntax