change extension of script to ruby