Added HOME support and cert dir to create_cert script