adapte my setup script to the new slate.js