add function to rebuild finder menu