added stuff for live imaging anaysis