enable to pass nil value of  block params
added IAP-hackers check(in a simple way)
added macros to control using console or stdout to show logs