move aphid and secret to environment variables