Added location variables to extension