Double mode filling machine with marble adhesive capping