changed the xml tags for scripts and sockets from names to Script and Socket to avoid xml corruptions