removed deprecated use of print_context_name function
removed strict type checking on function parameters and added guard condition on context
bumped version number