updated staging.rb for precompile files