better way of handling boolean env variables
right thumbnail dimensions