new changes for precompiling background image properly