Delete Comment Rework

Adaption of 'Delete Course' script. Best practise is to keep all scripts
similar, so the course script has been modified to fulfil this new
purpose.