added version support. bug fixes