Prepare stuff for off line use