Prepare for runtime