updated to sugarcube 1.0