Compile backgrounds