how can I create an automated Booking Code