Add application_controller script by ruby