simplified installation, added version checks etc.