Fix to work with commit specified