added the possibility to use a custom logo