These days I use a SQL Job called ‘DBA – index maint’.
Whenever I have an index change to make I paste the script into a new step, name that step with today’s date, change the ‘start step’ to that step, and schedule it to run once overnight.
This gives me a history and outcome, along-side the exact action.