Added reseting finder and dock, also fixed env for cask