changing the directory to be blocked