Changing syntax for non-rails application.