Added OUTPUT_DIR and HOME_DIR variables