to add imgcapinject_main