modify t-minus and added rails_12factor