You need to add the IF with the IS_ADMIN_FLAG in the same manner that I posted it ...

It needs to surround all of your customization code ...