fix modules script
added viewport diagnostic message to DrawInterface