labeled table and moved script to scripts