make directory and clipboard functionality