Modify the operation for app control to path for image input