added append option for insert
fixed bug in mirror
final 2.0 cleanup