print image function
move machine id to conf file