Added working flag attachment and cleaned up some prints