some cosmetics and add a script file