update the scripts, make it extensiable