added the mainfile in case of printer is not working