Global error handling added. it will give error message and continue the script