add a script to set up one-tie environment