Added getenv for credentials