Changed some library stuff