Update Bagscript to make it a little faster