added feature to open terminal in directory belonging to rebuilt files