edited epoch plotting scripts