Removed dirty workaround to set $nid hardcoded and get it from $_GET.