fixed creation of directoires at startup : tmp,export