add extension to ruby script