remove commented code. parameterize grants path