Renamed self.before to self.scanned_comments

Also changed permissions on runtests.sh