updated precompile insert methodology for asset pipeline