Make sure this script works with Warehouse