properly reading P4CONFIG, and ignore it by default