add adapted gist script
rename