Put the script in a folder named Editor in Unity3d. This way Unity will load the plugin. You will have to put this script in every Unity project in which you would like to use this functionality.
Put the script in a folder named Editor
Put the script in a folder named Editor