Cleaned up the tophat scripts which had been failing.