added dotdotdot script, fixed bug with equations