Updated for BuildMaster 4.0
Fixed #1