Added applescript for rails tests