Major - replaces SCRIPT_DIR with the directory where the script resides.
Initial version of unsupervised segmentation scripts.