add support for generating scripts wrappers, update wayneeseguin/rvm#2448