Added rel directory to calculator