prepare standalone version