Added custom code execution