moved resetnet script to beginning