How to access the Inspector "Script" component

On a regular inspector for a script/component there is the “Script” label that shows what script the component is using and lets you select the script in the project by clicking on it in the editor.

When you implement a custom inspector and you don’t call DrawDefaultInspector then this field disappears.
My question is, how does one get it back? Tried all the EditorGUILayout fields that I could think of and nothing seems to fit the whole script section.

Any help would be much appreciated.

Found a solution. Posting in case A. someone else runs across this issue or B. someone can think of a better solution.

EditorGUILayout.ObjectField("Script", AssetDatabase.LoadAssetAtPath("Assets/Scripts/MyScript.cs", typeof(MonoScript)), typeof(MonoScript), new GUILayoutOption[]{});

The problem with this method, of course, is that if I ever move the script to a new location then this breaks entirely. Anyone else know of a better idea?