add support function script