added a global callback with onAll() offAll()
updated build