Added more magic to apt