Progress save

most of commandW and helper function is complete, need to debug