script to recreate offline environment