documentation improvement
change script from currentcost to phase-currentcost, complete docstring