trim_right in readscript