Added script for Bagel