dot-onAttach function

Run when package loads