Fixed extension_dir path to use HOME env variable