Added ngui support