Handled adding custom function. Executing custom function - WIP <Karthik>