Added rebuild option to ubuntu packaging script.