Adding wait on print