Custom inspector window with regenerate button added