scripts from init to index