adding legacy functions references for old scripts