Seeking script to add to my automator service to make it reveal newly created item in finder

I figured it out for myself in the end - perhaps this will be useful to others :) I added these lines to my code and they work - they reveal the newly created screen shot highlited in Finder:

tell application "Finder" to activate
tell application "Finder" to reveal the last file

I am aware there is probably a cleaner code to do all of this and if you feel like advising me on that, please do not hold back - I am keen to learn more :) Thank you!