added check that releases directory exists