add_swap task added to index.html