Add the appropriate buttons to the index file.