fixed scripts to properly reopen finder