working for gyrate on all directories