Fixing bake script