Automatic festooning machine