as this is not moonlight specific, it should not be placed in such a way
Also adds nx_port for user defines