Hello and welcome to the board lurker.

Let's see your code please as the entire script can be run without being seen so we need to see where you're code is not managing the feedback.
You should check for Admin rights too yourself if you do or don't want to run something based on current rights of the user.

Please use CODE TAGS and post your code for review.