creating tmp directory when we need to
renaming the spec to something more sensible