Added option package parameter in all API calls for error tracking