added libraries + save before changing network code