Support for non debug mode

Signed-off-by: David Saradini <david.saradini@me.com>