added viewport boolean check, updated prod settings with debugs, base dir and viewport