Added remove old release directory functionality.