Removed temporary files and added word checking