get the script directory.