Rails application template script