price calc script