Improved appconf and console script