modify the configuration and add some scripts