making sure that ROOT_DIR is absolute path when overriding with argument