Added gd library