added compile time argv and env settings