Adding sublime, preview and finder functions