added REPRINT enviroment variable