scripts supply several usefull functions