fixed temperature stuff so webfriends can still run without temp files