Updated script to work with BSP 1.0.1