Added home_dir variable to facilitate s10/compy back and forth