Fixed double submit issue and cut build_name