add resources, get bg ready.