Added boolean flag for imaging function and targeting function for
functionalizing entity