RUN_TYPE config variable working