get prompt from environment