Added core functions to ovscript