python 2.6 compatability,
cleanup of unused files,
catch no write options in data