added grant dept access script