Define $extension variable