Add dynamic location lookup

Signed-off-by: Aaron Bieber <deftly@gmail.com>