Usually giving the user a nice installation guide is all you need to do.
Editing a users template file automatically is something I tend to avoid if possible. My thoughts are that the user should be fully aware on how to add and remove third party apps and scripts.